package com.group9.nepmserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.group9.nepmserver.dto.AfPageRequestDto;
import com.group9.nepmserver.pojo.AqiFeedback;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AqiFeedbackMapper extends BaseMapper<AqiFeedback> {

    List<AqiFeedback> listAqiFeedbackByTelId(String telId);

    //分页接口
    int getAqiFeedbackCount(AfPageRequestDto afPageRequestDto);

    List<AqiFeedback> listAqiFeedbackPage(AfPageRequestDto afPageRequestDto);

    AqiFeedback getAqiFeedbackById(Integer afId);

    List<AqiFeedback> listAqiFeedbackByGmId(AqiFeedback aqiFeedback);

}
